package com.xbongbong.pro.contract.pojo.vo;

import com.xbongbong.paas.domain.entity.ext.PaasFormDataEntityExt;
import com.xbongbong.paas.toolbox.wrap.BaseVO;
import com.xbongbong.pro.contract.pojo.dto.ContractUpdateDTO;
import com.xbongbong.saas.domain.entity.ContractProductEntity;
import com.xbongbong.saas.domain.entity.OutstockProductEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;
import java.util.Map;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/5/9 10:40
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ContractOutstockDeleteVO extends BaseVO {

    private List<PaasFormDataEntityExt> outstockList;

    private List<OutstockProductEntity> outstockAllProductList;

    /**
     * 合同和关联的出库单的对应关系
     */
    private Map<Long, List<Long>> contractOutstockMap;

    /**
     * 合同和出库产品的对应关系
     */
    private Map<Long, List<OutstockProductEntity>> contractOutstockProductMap;

    /**
     * 合同和关联产品的对应关系
     */
    private Map<Long, List<ContractProductEntity>> contractProductMap;

    /**
     * 需要对某些字段进行更新的合同数据
     */
    private List<ContractUpdateDTO> contractUpdateList;
}
